//
//  TTViewController.h
//  WxIOSReaderForiPhone
//
//  Created by lxxccc on 17-11-14.
//  Copyright (c) 2017年 anzeinfo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"

@interface TTViewController : UIViewController

@property(strong, nonatomic) MBProgressHUD *hud;
@property(strong, nonatomic) UIButton *backBtn;

- (void) showMessageBox:(NSString*)_message autoHide:(Boolean)isAutoHide;
- (void) showMessageBox:(NSString*)_message mode:(MBProgressHUDMode)_mode autoHide:(Boolean)isAutoHide;
- (void) showMessageBox:(NSString*)_message mode:(MBProgressHUDMode)_mode offset:(CGPoint)offset;
- (void) showMessageBoxOnWindow:(NSString*)_message mode:(MBProgressHUDMode)_mode;
- (void) hideMessageBox;

- (void)backBtnPressed:(UIButton *)sender;
- (UIImage *)imageWithColor:(UIColor *)color;
- (UIImage*)imageWithColor:(UIColor*)color size:(CGSize)size;
@end
